# coding: utf-8

class Result:
    @staticmethod
    def get_error_string(result):
        ResultValue = {
                            0:  "API call success", 
                            -1: "Http Error",
                            -2: "Network error",
                            }
        
        return ResultValue[result]